//
// Created by tang on 2022/1/11.
//

#ifndef DIARYTOOL_MANAGEMENT_VIEW_HPP
#define DIARYTOOL_MANAGEMENT_VIEW_HPP

#include "gui/ui_component.hpp"

struct ManagementData;
class ManagementView final : public UiComponent {
    ManagementData* d;
public:
    ManagementView();
    ~ManagementView() override;

    [[nodiscard]] unsigned int Flags() const override;

    void RenderContent(ComponentFlag flag) override;

    const char* GetName(ComponentFlag flag) override;

private:
    void Dialog();
};

#endif //DIARYTOOL_MANAGEMENT_VIEW_HPP
